//
//  CustomShowPhotoListViewController.h
//  ExcellentHome
//
//  Created by Andy on 15/11/12.
//  Copyright © 2015年 陈区. All rights reserved.
//

#import <AssetsLibrary/AssetsLibrary.h>
#import "CustomButtonView.h"
#define  linePhotoNumber 4  //一行显示多少个
#define  selectPhotoMax 9  //最多可选多少个

@protocol CustomShowPhotoListViewControllerDelegate;

@interface CustomShowPhotoListViewController : UIViewController<UITableViewDataSource,UITableViewDelegate>
{
    CGFloat screenWidth;
    UITableView *tableView;
    NSMutableArray *photoArray;  //略图
    NSMutableArray *groupArray;
    UILabel *titleLabel;
    NSMutableDictionary *selDict;
    UIView *downView;
    UILabel *selectLabel;
    
    
}
@property (nonatomic ,assign) NSInteger                               photoMax; /**< 选择最大数 */
@property (nonatomic ,assign) NSInteger                               photoType; /**< 选择最大数 打开类型 1-相册 2-相机 */; /**< 图片 */
@property (nonatomic ,assign) id<CustomShowPhotoListViewControllerDelegate>  fundelegate; /**< 图片 */
@property (nonatomic,strong) UIViewController *masterVC;

@end

@protocol CustomShowPhotoListViewControllerDelegate <NSObject>

-(void)showPhotoStyle:(NSInteger)style;
-(void)ShowPhotoListViewCancelAction:(CustomShowPhotoListViewController *)actionView; //关闭窗口
-(void)ShowPhotoListViewFinishedAction:(NSMutableArray *)imageArray actionView:(CustomShowPhotoListViewController *)actionView; //完成
@end
